package cn.bone.springcloud.service;

import cn.bone.myrole.MySelfRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "consul-provider-payment2", configuration = {MySelfRule.class})
@Service
public interface IPaymentService2 {

    @RequestMapping("/payment/consul2")
    String paymentConsul2();

    @RequestMapping("/payment/timeOut")
    String paymentTimeOut();

}
